#ifndef __APP_COMMUNICATION_H__
#define __APP_COMMUNICATION_H__
#include "Com_Types.h"
#include "Int_SI24R1.h"
#include "FreeRTOS.h"
#include "task.h"
#include"Com_IMU.h"

#define FRAME0 0xAA
#define FRAME1 0xBB
#define FRAME2 0xCC

Com_Type App_Communication_ReceiveData(Remote_Struct *remote_data);

void App_Communication_HandleRemoteStatus(Com_Type isReceived, Remote_Status *remote_status);

void App_Communication_HandleFlightStatus(Remote_Status remote_status, Remote_Struct *remote_data, Flight_Status *flight_status);

#endif /* __APP_COMMUNICATION_H__ */